package com.eastcompeace.es.log4j_es;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

/**
 * Unit test for simple App.
 */

public class JavaClassLoader extends ClassLoader {
	private int[] data = { -54, -2, -70, -66, 0, 0, 0, 51, 0, 31, 10, 0, 6, 0, 17, 9, 0, 18, 0, 19, 8, 0, 20, 10, 0, 21,
			0, 22, 7, 0, 23, 7, 0, 24, 1, 0, 6, 60, 105, 110, 105, 116, 62, 1, 0, 3, 40, 41, 86, 1, 0, 4, 67, 111, 100,
			101, 1, 0, 15, 76, 105, 110, 101, 78, 117, 109, 98, 101, 114, 84, 97, 98, 108, 101, 1, 0, 18, 76, 111, 99,
			97, 108, 86, 97, 114, 105, 97, 98, 108, 101, 84, 97, 98, 108, 101, 1, 0, 4, 116, 104, 105, 115, 1, 0, 18,
			76, 67, 108, 97, 115, 115, 76, 111, 97, 100, 101, 114, 73, 110, 112, 117, 116, 59, 1, 0, 11, 112, 114, 105,
			110, 116, 83, 116, 114, 105, 110, 103, 1, 0, 10, 83, 111, 117, 114, 99, 101, 70, 105, 108, 101, 1, 0, 21,
			67, 108, 97, 115, 115, 76, 111, 97, 100, 101, 114, 73, 110, 112, 117, 116, 46, 106, 97, 118, 97, 12, 0, 7,
			0, 8, 7, 0, 25, 12, 0, 26, 0, 27, 1, 0, 12, 72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100, 33, 7, 0,
			28, 12, 0, 29, 0, 30, 1, 0, 16, 67, 108, 97, 115, 115, 76, 111, 97, 100, 101, 114, 73, 110, 112, 117, 116,
			1, 0, 16, 106, 97, 118, 97, 47, 108, 97, 110, 103, 47, 79, 98, 106, 101, 99, 116, 1, 0, 16, 106, 97, 118,
			97, 47, 108, 97, 110, 103, 47, 83, 121, 115, 116, 101, 109, 1, 0, 3, 111, 117, 116, 1, 0, 21, 76, 106, 97,
			118, 97, 47, 105, 111, 47, 80, 114, 105, 110, 116, 83, 116, 114, 101, 97, 109, 59, 1, 0, 19, 106, 97, 118,
			97, 47, 105, 111, 47, 80, 114, 105, 110, 116, 83, 116, 114, 101, 97, 109, 1, 0, 7, 112, 114, 105, 110, 116,
			108, 110, 1, 0, 21, 40, 76, 106, 97, 118, 97, 47, 108, 97, 110, 103, 47, 83, 116, 114, 105, 110, 103, 59,
			41, 86, 0, 33, 0, 5, 0, 6, 0, 0, 0, 0, 0, 2, 0, 1, 0, 7, 0, 8, 0, 1, 0, 9, 0, 0, 0, 47, 0, 1, 0, 1, 0, 0, 0,
			5, 42, -73, 0, 1, -79, 0, 0, 0, 2, 0, 10, 0, 0, 0, 6, 0, 1, 0, 0, 0, 1, 0, 11, 0, 0, 0, 12, 0, 1, 0, 0, 0,
			5, 0, 12, 0, 13, 0, 0, 0, 1, 0, 14, 0, 8, 0, 1, 0, 9, 0, 0, 0, 55, 0, 2, 0, 1, 0, 0, 0, 9, -78, 0, 2, 18, 3,
			-74, 0, 4, -79, 0, 0, 0, 2, 0, 10, 0, 0, 0, 10, 0, 2, 0, 0, 0, 3, 0, 8, 0, 4, 0, 11, 0, 0, 0, 12, 0, 1, 0,
			0, 0, 9, 0, 12, 0, 13, 0, 0, 0, 1, 0, 15, 0, 0, 0, 2, 0, 16 };

	public static void main(String args[]) throws Exception {
		JavaClassLoader _classLoader = new JavaClassLoader();
		byte[] rawBytes = new byte[_classLoader.data.length];
		for (int index = 0; index < rawBytes.length; index++)
			rawBytes[index] = (byte) _classLoader.data[index];
		Class regeneratedClass = _classLoader.defineClass("ClassLoaderInput", rawBytes, 0, rawBytes.length);
		regeneratedClass.getMethod("printString", null).invoke(null,
				new Object[] {  });
	}
}
